<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<script>
    //wreakmap和weakset差不多，但是weakmap的键只能存储对象！！
    //所以那些keys values都用不了，因为是weakmap
    let map=new WeakMap();
    map.set([],"对象");

</script>
</body>
</html>